﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Invoicing.sys
{
    public partial class DeptEdit : System.Web.UI.Page
    {
        public ZY.Model.Tab_DeptInfo model = null;

       
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                if (Request["did"] != null)
                {
                    try
                    {
                        int did = int.Parse(Request["did"].ToString());
                        model = new ZY.BLL.Tab_DeptInfo().GetModel(did);
                        //页面必须有数据才行，否则会报错的思密达
                    }
                    catch (Exception ex)
                    { 
                        throw ex;
                    }
         

                }
                
            }
        }
    }
}